<?php
$dbconnect = DBconnect::getInstance();
function displayAllRealTeamsInSelectOptions(){
	$dbconnect = DBconnect::getInstance();
	$query = $dbconnect->getAllRealTeams();
	while($teams = mysql_fetch_array($query)){
		echo "<option value='".$teams['rteam_no']."'>".$teams['team_name']."</option>";
	}
}

if(isset($_POST['submit'])){
	$dbconnect->deleteRealTeam($_POST['deleteteam']);
	
}

?>